{extend name="Layout/layout"}
{block name="body_content"}
<ul class="nav nav-tabs" style='margin-bottom: 20px;'>
    {foreach $menus as $vo}
    {if condition="$vo['active']"}
    <li class="active"><a href="{$vo.url}">{$vo.title}</a></li>
    {else/}
    <li><a href="{$vo.url}">{$vo.title}</a></li>
    {/if}
    {/foreach}
</ul>
<form class="form-horizontal" method="post" action="{:url('edit_password_save')}">
    <div class="form-group">
        <label class="col-sm-2 control-label">新密码</label>
        <div class="col-sm-10">
            <input type="password" name="password" class="form-control" placeholder="新密码">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">再次输入新密码</label>
        <div class="col-sm-10">
            <input type="password" name="repassword" class="form-control" placeholder="再次输入新密码">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary">保存</button>
        </div>
    </div>
    <input type="hidden" name="id" value="{$id}" />
</form>
<script src="/skin/theme/sueuix5/ctrl/layout/layout.js"></script>
<script type="text/javascript">
    // 2016-12-28
    $('.dropdown-toggle').dropdown();
    // 2016-12-29
    $(document).ready(function () {
        layout_ui_init();
    })
</script>
{/block}